package user;

import book.BookList;
import operation.IOperation;

abstract public class User {
    protected String name;
    protected IOperation[] array;
    public User(String name)
    {
        this.name = name;
    }
    abstract public int menu();

    public void dowork(int chioce,BookList bookList){
        array[chioce].work(bookList);
    }
}
